package com.yjz.middlewareboot;

import com.yjz.middlewareboot.properties.Hub4ProperTies;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@Slf4j
@SpringBootApplication
public class MiddlewareBootApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(MiddlewareBootApplication.class, args);
        Hub4ProperTies hub4ProperTies = context.getBean(Hub4ProperTies.class);
        log.info("hub4ProperTies :{}",hub4ProperTies );
    }

}
